package com.npr.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@Configuration
@EnableScheduling//定时任务启动
@EnableAsync//启动@Async注解
public class ThreadPoolConfig {

}
